Skip to content

Conversation

@rivos-eblot
Copy link
Contributor

  • use a new protocol, incompatible with the legacy implementation
  • the new protocol is much simpler and exposes existing SPI DPI device signals:
    • host-to-device: SCK, SDI, CS
    • device-to-host: SDO, SDO_EN
  • there is no longer a limitation (32 bits) on transaction size
  • use an ASCII protocol to ease debugging (no overhead)
  • use environment variable to select whether to generate log files, and their kind:
    • M for "monitor" file, which are very verbose
    • P for "protocol" file, more compact to trace communication with SPI host
  • tested with JEDEC_ID, SFDP, PAGE_PROGRAM, READ, and HW config commands.

* use a new protocol, incompatible with the legacy implementation
* the new protocol is much simpler and exposes existing SPI DPI device signals:
  * host-to-device: SCK, SDI, CS
  * device-to-host: SDO, SDO_EN
* there is no longer a limitation (32 bits) on transaction size
* use an ASCII protocol to ease debugging (no overhead)
* use environment variable to select whether to generate log files, and their kind:
  * `M` for "monitor" file, which are very verbose
  * `P` for "protocol" file, more compact to trace communication with SPI host
* tested with JEDEC_ID, SFDP, PAGE_PROGRAM, READ, and HW config commands.

Signed-off-by: Emmanuel Blot <[email protected]>
@rivos-eblot rivos-eblot force-pushed the dev/ebl/spidev_dpi_new branch from 23b6075 to 8af5ee0 Compare November 21, 2025 16:19
@rivos-eblot rivos-eblot requested a review from a-will November 21, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant